@extends('base')
@section('content')
<div class="fix_header"></div>
<div class="banner_1">
    <img src="{{asset('img/ny_banner3.jpg')}}">
</div>
<div class="container">
    <section class="page">
        <div class="leftbox">
            <h1 class="cattitle">快工</h1>
            <ul class="submenu">
                <?php $parentcategory = 0 == $business->parentcategory ? substr($business->categoryid, 0, -4) : $business->parentcategory ?>
                @foreach($nav_list[$parentcategory]['data'] as $nav)
                    <li><a href="{{url('/business/index/'.$nav['categoryid'])}}"
                           @if($nav['categoryid'] == $business->categoryid) class="on" @endif>{{$nav['name']}}</a></li>
                @endforeach
            </ul>
            <div class="telep"><img src="{{asset('img/phone.jpg')}}" /></div>
        </div>
        <div class="mainbox">
            <div class="pagecont">
                <div class="title">
                    <h1 class="cattitle">快工</h1>
                    <span>当前位置：首页>快工>招聘</span>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="mainbox">
                <div class="personal-profile">
                    <h2 class="am_tuya_cai_ti zhaogong-title">{{$business->hasPoster($business->userid) ? $business->poster->nick : "没有该用户"}}</h2>
                    <p class="zg-tit">招聘职位:</p>
                    <p>1、招聘岗位：{{$business->name}}</p>
                    <p>2、招聘人数：{{$business->workercount}}</p>
                    <p>3、工作薪资：{{$business->discount.$business->discountunit}}</p>
                    <p>4、工作区域：{{$business->workarea}}</p>
                    <p>2、工作地址：{{$business->addr}}</p>
                    <p class="zg-tit">招聘要求:</p>
                    {!! $business->describe !!}
                    <div class="personal-img">
                        @if("" != $business->imgurl)
                            <p class="zg-tit">厂房照片:</p>
                            @foreach(explode(',',$business->imgurl) as $img)
                                <div class="upimg">
                                    <img src="{{$img}}">
                                </div>
                            @endforeach
                        @endif
                    </div>

                </div>
            </div>
        </div>
        <div class="clear"></div>
    </section>
</div>
@stop